package com.fzj.example.design.adapter;
/**
* @Description 对象适配器模式
* @Author  fanzj
* @Date   2020/5/10 11:09 上午
* @Param
* @Return
* @Exception
*
*/
public class ObjectAdapter implements Target {

    private Adaptee adaptee;

    public ObjectAdapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void request() {
        this.adaptee.specificRequest();
    }
}
